/*==============================================================================
 Copyright (c) 2015-2018 Qualcomm Technologies, Inc.
 All Rights Reserved.
 Confidential and Proprietary - Qualcomm Technologies, Inc.
==============================================================================*/
#ifndef TITAN170_JPEG_ENCODE_H
#define TITAN170_JPEG_ENCODE_H

/*----------------------------------------------------------------------
        Offset and Mask
----------------------------------------------------------------------*/

#define JPEG_ENCODE_REGS_FIRST 0x0 

#define JPEG_ENCODE_REGS_LAST 0x33c 

#define JPEG_ENCODE_REGS_COUNT 0x7f 

#define regJPEG_ENCODE_JPEG_0_HW_VERSION 0x0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_HW_VERSION_STEP_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_HW_VERSION_STEP_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_HW_VERSION_MINOR_MASK 0xfff0000
#define JPEG_ENCODE_JPEG_0_HW_VERSION_MINOR_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_HW_VERSION_MAJOR_MASK 0xf0000000
#define JPEG_ENCODE_JPEG_0_HW_VERSION_MAJOR_SHIFT 0x1c

#define regJPEG_ENCODE_JPEG_0_HW_CAPABILITY 0x4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_ENCODE_MASK 0x1
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_ENCODE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_DECODE_MASK 0x2
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_DECODE_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_UNUSED0_MASK 0xc
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_UNUSED0_SHIFT 0x2
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_UPSCALE_MASK 0x70
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_UPSCALE_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_UNUSED1_MASK 0x80
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_UNUSED1_SHIFT 0x7
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_DOWNSCALE_MASK 0x700
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_DOWNSCALE_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_UNUSED2_MASK 0xfffff800
#define JPEG_ENCODE_JPEG_0_HW_CAPABILITY_UNUSED2_SHIFT 0xb

#define regJPEG_ENCODE_JPEG_0_RESET_CMD 0x8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_RESET_CMD_FE_RESET_MASK 0x1
#define JPEG_ENCODE_JPEG_0_RESET_CMD_FE_RESET_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_RESET_CMD_WE_RESET_MASK 0x2
#define JPEG_ENCODE_JPEG_0_RESET_CMD_WE_RESET_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED0_MASK 0xc
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED0_SHIFT 0x2
#define JPEG_ENCODE_JPEG_0_RESET_CMD_ENCODER_RESET_MASK 0x10
#define JPEG_ENCODE_JPEG_0_RESET_CMD_ENCODER_RESET_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_RESET_CMD_DECODER_RESET_MASK 0x20
#define JPEG_ENCODE_JPEG_0_RESET_CMD_DECODER_RESET_SHIFT 0x5
#define JPEG_ENCODE_JPEG_0_RESET_CMD_BLOCK_FORMATTER_RESET_MASK 0x40
#define JPEG_ENCODE_JPEG_0_RESET_CMD_BLOCK_FORMATTER_RESET_SHIFT 0x6
#define JPEG_ENCODE_JPEG_0_RESET_CMD_SCALE_RESET_MASK 0x80
#define JPEG_ENCODE_JPEG_0_RESET_CMD_SCALE_RESET_SHIFT 0x7
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED1_MASK 0x1f00
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED1_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_RESET_CMD_REGISTER_RESET_MASK 0x2000
#define JPEG_ENCODE_JPEG_0_RESET_CMD_REGISTER_RESET_SHIFT 0xd
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED2_MASK 0xc000
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED2_SHIFT 0xe
#define JPEG_ENCODE_JPEG_0_RESET_CMD_MISR_RESET_MASK 0x10000
#define JPEG_ENCODE_JPEG_0_RESET_CMD_MISR_RESET_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_RESET_CMD_CORE_RESET_MASK 0x20000
#define JPEG_ENCODE_JPEG_0_RESET_CMD_CORE_RESET_SHIFT 0x11
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED3_MASK 0x1ffc0000
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED3_SHIFT 0x12
#define JPEG_ENCODE_JPEG_0_RESET_CMD_JPEG_DOMAIN_RESET_MASK 0x20000000
#define JPEG_ENCODE_JPEG_0_RESET_CMD_JPEG_DOMAIN_RESET_SHIFT 0x1d
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED4_MASK 0x40000000
#define JPEG_ENCODE_JPEG_0_RESET_CMD_UNUSED4_SHIFT 0x1e
#define JPEG_ENCODE_JPEG_0_RESET_CMD_RESET_BYPASS_MASK 0x80000000
#define JPEG_ENCODE_JPEG_0_RESET_CMD_RESET_BYPASS_SHIFT 0x1f

#define regJPEG_ENCODE_JPEG_0_CORE_CFG 0xc  /*register offset*/
#define JPEG_ENCODE_JPEG_0_CORE_CFG_FE_ENABLE_MASK 0x1
#define JPEG_ENCODE_JPEG_0_CORE_CFG_FE_ENABLE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_CORE_CFG_WE_ENABLE_MASK 0x2
#define JPEG_ENCODE_JPEG_0_CORE_CFG_WE_ENABLE_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED0_MASK 0xc
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED0_SHIFT 0x2
#define JPEG_ENCODE_JPEG_0_CORE_CFG_JPEG_ENCODE_ENABLE_MASK 0x10
#define JPEG_ENCODE_JPEG_0_CORE_CFG_JPEG_ENCODE_ENABLE_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED1_MASK 0x60
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED1_SHIFT 0x5
#define JPEG_ENCODE_JPEG_0_CORE_CFG_SCALE_ENABLE_MASK 0x80
#define JPEG_ENCODE_JPEG_0_CORE_CFG_SCALE_ENABLE_SHIFT 0x7
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED2_MASK 0x7ff00
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED2_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_CORE_CFG_TESTBUS_ENABLE_MASK 0x80000
#define JPEG_ENCODE_JPEG_0_CORE_CFG_TESTBUS_ENABLE_SHIFT 0x13
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED3_MASK 0xf00000
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED3_SHIFT 0x14
#define JPEG_ENCODE_JPEG_0_CORE_CFG_MODE_MASK 0x7000000
#define JPEG_ENCODE_JPEG_0_CORE_CFG_MODE_SHIFT 0x18
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED4_MASK 0x78000000
#define JPEG_ENCODE_JPEG_0_CORE_CFG_UNUSED4_SHIFT 0x1b
#define JPEG_ENCODE_JPEG_0_CORE_CFG_CGC_DISABLE_MASK 0x80000000
#define JPEG_ENCODE_JPEG_0_CORE_CFG_CGC_DISABLE_SHIFT 0x1f

#define regJPEG_ENCODE_JPEG_0_CMD 0x10  /*register offset*/
#define JPEG_ENCODE_JPEG_0_CMD_HW_START_MASK 0x1
#define JPEG_ENCODE_JPEG_0_CMD_HW_START_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_CMD_HW_STOP_MASK 0x2
#define JPEG_ENCODE_JPEG_0_CMD_HW_STOP_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_CMD_UNUSED0_MASK 0xc
#define JPEG_ENCODE_JPEG_0_CMD_UNUSED0_SHIFT 0x2
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_RD_PLN0_QUEUE_MASK 0x10
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_RD_PLN0_QUEUE_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_RD_PLN1_QUEUE_MASK 0x20
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_RD_PLN1_QUEUE_SHIFT 0x5
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_RD_PLN2_QUEUE_MASK 0x40
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_RD_PLN2_QUEUE_SHIFT 0x6
#define JPEG_ENCODE_JPEG_0_CMD_UNUSED1_MASK 0x80
#define JPEG_ENCODE_JPEG_0_CMD_UNUSED1_SHIFT 0x7
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_WR_PLN0_QUEUE_MASK 0x100
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_WR_PLN0_QUEUE_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_WR_PLN1_QUEUE_MASK 0x200
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_WR_PLN1_QUEUE_SHIFT 0x9
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_WR_PLN2_QUEUE_MASK 0x400
#define JPEG_ENCODE_JPEG_0_CMD_CLEAR_WR_PLN2_QUEUE_SHIFT 0xa
#define JPEG_ENCODE_JPEG_0_CMD_APPLY_SWC_RD_PARAMS_MASK 0x800
#define JPEG_ENCODE_JPEG_0_CMD_APPLY_SWC_RD_PARAMS_SHIFT 0xb
#define JPEG_ENCODE_JPEG_0_CMD_UNUSED2_MASK 0xfffff000
#define JPEG_ENCODE_JPEG_0_CMD_UNUSED2_SHIFT 0xc

#define regJPEG_ENCODE_JPEG_0_CORE_STATE_STATUS 0x14  /*register offset*/
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_ENCODE_STATE_MASK 0x1
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_ENCODE_STATE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_UNUSED0_MASK 0x2
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_UNUSED0_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_SCALE_STATE_MASK 0x4
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_SCALE_STATE_SHIFT 0x2
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_UNUSED1_MASK 0x8
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_UNUSED1_SHIFT 0x3
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_REALTIME_STATE_MASK 0x10
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_REALTIME_STATE_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_UNUSED2_MASK 0xe0
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_UNUSED2_SHIFT 0x5
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_BUS_STATE_MASK 0x100
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_BUS_STATE_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_TOP_LVL_CGC_STATE_MASK 0x200
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_TOP_LVL_CGC_STATE_SHIFT 0x9
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_UNUSED3_MASK 0xfffffc00
#define JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS_UNUSED3_SHIFT 0xa

#define regJPEG_ENCODE_JPEG_0_IRQ_MASK 0x18  /*register offset*/
#define JPEG_ENCODE_JPEG_0_IRQ_MASK_MASK_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_IRQ_MASK_MASK_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_IRQ_CLEAR 0x1c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_IRQ_CLEAR_CLEAR_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_IRQ_CLEAR_CLEAR_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_IRQ_STATUS 0x20  /*register offset*/
#define JPEG_ENCODE_JPEG_0_IRQ_STATUS_STATUS_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_IRQ_STATUS_STATUS_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_FE_CFG 0x24  /*register offset*/
#define JPEG_ENCODE_JPEG_0_FE_CFG_BYTE_ORDERING_MASK 0xf
#define JPEG_ENCODE_JPEG_0_FE_CFG_BYTE_ORDERING_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_FE_CFG_BURST_LENGTH_MAX_MASK 0xf0
#define JPEG_ENCODE_JPEG_0_FE_CFG_BURST_LENGTH_MAX_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_FE_CFG_MEMORY_FORMAT_MASK 0x300
#define JPEG_ENCODE_JPEG_0_FE_CFG_MEMORY_FORMAT_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_FE_CFG_UNUSED0_MASK 0xc00
#define JPEG_ENCODE_JPEG_0_FE_CFG_UNUSED0_SHIFT 0xa
#define JPEG_ENCODE_JPEG_0_FE_CFG_CBCR_ORDER_MASK 0x1000
#define JPEG_ENCODE_JPEG_0_FE_CFG_CBCR_ORDER_SHIFT 0xc
#define JPEG_ENCODE_JPEG_0_FE_CFG_BOTTOM_VPAD_EN_MASK 0x2000
#define JPEG_ENCODE_JPEG_0_FE_CFG_BOTTOM_VPAD_EN_SHIFT 0xd
#define JPEG_ENCODE_JPEG_0_FE_CFG_UNUSED1_MASK 0xc000
#define JPEG_ENCODE_JPEG_0_FE_CFG_UNUSED1_SHIFT 0xe
#define JPEG_ENCODE_JPEG_0_FE_CFG_PLN0_EN_MASK 0x10000
#define JPEG_ENCODE_JPEG_0_FE_CFG_PLN0_EN_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_FE_CFG_PLN1_EN_MASK 0x20000
#define JPEG_ENCODE_JPEG_0_FE_CFG_PLN1_EN_SHIFT 0x11
#define JPEG_ENCODE_JPEG_0_FE_CFG_PLN2_EN_MASK 0x40000
#define JPEG_ENCODE_JPEG_0_FE_CFG_PLN2_EN_SHIFT 0x12
#define JPEG_ENCODE_JPEG_0_FE_CFG_UNUSED2_MASK 0x180000
#define JPEG_ENCODE_JPEG_0_FE_CFG_UNUSED2_SHIFT 0x13
#define JPEG_ENCODE_JPEG_0_FE_CFG_SIXTEEN_MCU_EN_MASK 0x200000
#define JPEG_ENCODE_JPEG_0_FE_CFG_SIXTEEN_MCU_EN_SHIFT 0x15
#define JPEG_ENCODE_JPEG_0_FE_CFG_MCUS_PER_BLOCK_MASK 0xc00000
#define JPEG_ENCODE_JPEG_0_FE_CFG_MCUS_PER_BLOCK_SHIFT 0x16
#define JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MASK 0x7000000
#define JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_SHIFT 0x18
#define JPEG_ENCODE_JPEG_0_FE_CFG_MAL_EN_MASK 0x8000000
#define JPEG_ENCODE_JPEG_0_FE_CFG_MAL_EN_SHIFT 0x1b
#define JPEG_ENCODE_JPEG_0_FE_CFG_UNUSED3_MASK 0xf0000000
#define JPEG_ENCODE_JPEG_0_FE_CFG_UNUSED3_SHIFT 0x1c

#define regJPEG_ENCODE_JPEG_0_FE_QOS_CFG 0x28  /*register offset*/
#define JPEG_ENCODE_JPEG_0_FE_QOS_CFG_PRIORITY_MASK 0xf
#define JPEG_ENCODE_JPEG_0_FE_QOS_CFG_PRIORITY_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_FE_QOS_CFG_UNUSED0_MASK 0xfffffff0
#define JPEG_ENCODE_JPEG_0_FE_QOS_CFG_UNUSED0_SHIFT 0x4

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_PNTR 0x38  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_PNTR_PNTR_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_PNTR_PNTR_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_OFFSET 0x3c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_OFFSET_OFFSET_MASK 0x1fffffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_OFFSET_OFFSET_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_RD_OFFSET_UNUSED0_MASK 0xe0000000
#define JPEG_ENCODE_JPEG_0_PLN0_RD_OFFSET_UNUSED0_SHIFT 0x1d

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_PNTR_CNSMD 0x40  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_PNTR_CNSMD_PNTR_CNSMD_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_PNTR_CNSMD_PNTR_CNSMD_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_PNTR 0x44  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_PNTR_PNTR_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_PNTR_PNTR_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_OFFSET 0x48  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_OFFSET_OFFSET_MASK 0x1fffffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_OFFSET_OFFSET_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_RD_OFFSET_UNUSED0_MASK 0xe0000000
#define JPEG_ENCODE_JPEG_0_PLN1_RD_OFFSET_UNUSED0_SHIFT 0x1d

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_PNTR_CNSMD 0x4c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_PNTR_CNSMD_PNTR_CNSMD_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_PNTR_CNSMD_PNTR_CNSMD_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_PNTR 0x50  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_PNTR_PNTR_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_PNTR_PNTR_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_OFFSET 0x54  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_OFFSET_OFFSET_MASK 0x1fffffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_OFFSET_OFFSET_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_RD_OFFSET_UNUSED0_MASK 0xe0000000
#define JPEG_ENCODE_JPEG_0_PLN2_RD_OFFSET_UNUSED0_SHIFT 0x1d

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_PNTR_CNSMD 0x58  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_PNTR_CNSMD_PNTR_CNSMD_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_PNTR_CNSMD_PNTR_CNSMD_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_RD_PNTR_CNT 0x5c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_PLN0_PNTR_CNT_MASK 0x7
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_PLN0_PNTR_CNT_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_UNUSED0_MASK 0x8
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_UNUSED0_SHIFT 0x3
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_PLN1_PNTR_CNT_MASK 0x70
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_PLN1_PNTR_CNT_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_UNUSED1_MASK 0x80
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_UNUSED1_SHIFT 0x7
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_PLN2_PNTR_CNT_MASK 0x700
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_PLN2_PNTR_CNT_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_UNUSED2_MASK 0xfffff800
#define JPEG_ENCODE_JPEG_0_RD_PNTR_CNT_UNUSED2_SHIFT 0xb

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_BUFFER_SIZE 0x60  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_BUFFER_SIZE_WIDTH_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_BUFFER_SIZE_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_RD_BUFFER_SIZE_HEIGHT_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN0_RD_BUFFER_SIZE_HEIGHT_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_STRIDE 0x64  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_STRIDE_STRIDE_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_STRIDE_STRIDE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_RD_STRIDE_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN0_RD_STRIDE_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_BUFFER_SIZE 0x68  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_BUFFER_SIZE_WIDTH_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_BUFFER_SIZE_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_RD_BUFFER_SIZE_HEIGHT_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN1_RD_BUFFER_SIZE_HEIGHT_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_STRIDE 0x6c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_STRIDE_STRIDE_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_STRIDE_STRIDE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_RD_STRIDE_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN1_RD_STRIDE_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_BUFFER_SIZE 0x70  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_BUFFER_SIZE_WIDTH_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_BUFFER_SIZE_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_RD_BUFFER_SIZE_HEIGHT_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN2_RD_BUFFER_SIZE_HEIGHT_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_HINIT 0x74  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_UNUSED0_MASK 0xffe00000
#define JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_UNUSED0_SHIFT 0x15

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_HINIT 0x78  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_UNUSED0_MASK 0xffe00000
#define JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_UNUSED0_SHIFT 0x15

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_HINIT 0x7c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_UNUSED0_MASK 0xffe00000
#define JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_UNUSED0_SHIFT 0x15

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_VINIT 0x80  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_UNUSED0_MASK 0xffe00000
#define JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_UNUSED0_SHIFT 0x15

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_VINIT 0x84  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_UNUSED0_MASK 0xffe00000
#define JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_UNUSED0_SHIFT 0x15

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_VINIT 0x88  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_UNUSED0_MASK 0xffe00000
#define JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_UNUSED0_SHIFT 0x15

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_STRIDE 0x8c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_STRIDE_STRIDE_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_STRIDE_STRIDE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_RD_STRIDE_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN2_RD_STRIDE_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_WE_CFG 0xc0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_WE_CFG_BYTE_ORDERING_MASK 0xf
#define JPEG_ENCODE_JPEG_0_WE_CFG_BYTE_ORDERING_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_WE_CFG_BURST_LENGTH_MAX_MASK 0xf0
#define JPEG_ENCODE_JPEG_0_WE_CFG_BURST_LENGTH_MAX_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_WE_CFG_MEMORY_FORMAT_MASK 0x300
#define JPEG_ENCODE_JPEG_0_WE_CFG_MEMORY_FORMAT_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_WE_CFG_UNUSED0_MASK 0xc00
#define JPEG_ENCODE_JPEG_0_WE_CFG_UNUSED0_SHIFT 0xa
#define JPEG_ENCODE_JPEG_0_WE_CFG_CBCR_ORDER_MASK 0x1000
#define JPEG_ENCODE_JPEG_0_WE_CFG_CBCR_ORDER_SHIFT 0xc
#define JPEG_ENCODE_JPEG_0_WE_CFG_UNUSED1_MASK 0xe000
#define JPEG_ENCODE_JPEG_0_WE_CFG_UNUSED1_SHIFT 0xd
#define JPEG_ENCODE_JPEG_0_WE_CFG_PLN0_EN_MASK 0x10000
#define JPEG_ENCODE_JPEG_0_WE_CFG_PLN0_EN_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_WE_CFG_PLN1_EN_MASK 0x20000
#define JPEG_ENCODE_JPEG_0_WE_CFG_PLN1_EN_SHIFT 0x11
#define JPEG_ENCODE_JPEG_0_WE_CFG_PLN2_EN_MASK 0x40000
#define JPEG_ENCODE_JPEG_0_WE_CFG_PLN2_EN_SHIFT 0x12
#define JPEG_ENCODE_JPEG_0_WE_CFG_UNUSED2_MASK 0xf80000
#define JPEG_ENCODE_JPEG_0_WE_CFG_UNUSED2_SHIFT 0x13
#define JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MASK 0x7000000
#define JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_SHIFT 0x18
#define JPEG_ENCODE_JPEG_0_WE_CFG_MAL_EN_MASK 0x8000000
#define JPEG_ENCODE_JPEG_0_WE_CFG_MAL_EN_SHIFT 0x1b
#define JPEG_ENCODE_JPEG_0_WE_CFG_POP_BUFF_ON_EOS_MASK 0x10000000
#define JPEG_ENCODE_JPEG_0_WE_CFG_POP_BUFF_ON_EOS_SHIFT 0x1c
#define JPEG_ENCODE_JPEG_0_WE_CFG_UNUSED3_MASK 0xe0000000
#define JPEG_ENCODE_JPEG_0_WE_CFG_UNUSED3_SHIFT 0x1d

#define regJPEG_ENCODE_JPEG_0_WE_QOS_CFG 0xc8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_000_MASK 0xf
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_000_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_001_MASK 0xf0
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_001_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_010_MASK 0xf00
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_010_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_011_MASK 0xf000
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_011_SHIFT 0xc
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_100_MASK 0xf0000
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_100_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_101_MASK 0xf00000
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_101_SHIFT 0x14
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_110_MASK 0xf000000
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_110_SHIFT 0x18
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_111_MASK 0xf0000000
#define JPEG_ENCODE_JPEG_0_WE_QOS_CFG_PRIORITY_111_SHIFT 0x1c

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_PNTR 0xcc  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_PNTR_PNTR_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_PNTR_PNTR_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_PNTR 0xd0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_PNTR_PNTR_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_PNTR_PNTR_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_PNTR 0xd4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_PNTR_PNTR_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_PNTR_PNTR_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_PNTR_CNSMD 0xd8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_PNTR_CNSMD_PNTR_CNSMD_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_PNTR_CNSMD_PNTR_CNSMD_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_PNTR_CNSMD 0xdc  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_PNTR_CNSMD_PNTR_CNSMD_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_PNTR_CNSMD_PNTR_CNSMD_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_PNTR_CNSMD 0xe0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_PNTR_CNSMD_PNTR_CNSMD_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_PNTR_CNSMD_PNTR_CNSMD_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_WR_PNTR_CNT 0xe4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_WR_PNTR_CNT_PLN0_PNTR_CNT_MASK 0xf
#define JPEG_ENCODE_JPEG_0_WR_PNTR_CNT_PLN0_PNTR_CNT_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_WR_PNTR_CNT_PLN1_PNTR_CNT_MASK 0xf0
#define JPEG_ENCODE_JPEG_0_WR_PNTR_CNT_PLN1_PNTR_CNT_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_WR_PNTR_CNT_PLN2_PNTR_CNT_MASK 0xf00
#define JPEG_ENCODE_JPEG_0_WR_PNTR_CNT_PLN2_PNTR_CNT_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_WR_PNTR_CNT_UNUSED0_MASK 0xfffff000
#define JPEG_ENCODE_JPEG_0_WR_PNTR_CNT_UNUSED0_SHIFT 0xc

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_BUFFER_SIZE 0xe8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_BUFFER_SIZE_WIDTH_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_BUFFER_SIZE_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_WR_BUFFER_SIZE_HEIGHT_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN0_WR_BUFFER_SIZE_HEIGHT_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_BUFFER_SIZE 0xec  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_BUFFER_SIZE_WIDTH_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_BUFFER_SIZE_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_WR_BUFFER_SIZE_HEIGHT_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN1_WR_BUFFER_SIZE_HEIGHT_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_BUFFER_SIZE 0xf0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_BUFFER_SIZE_WIDTH_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_BUFFER_SIZE_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_WR_BUFFER_SIZE_HEIGHT_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN2_WR_BUFFER_SIZE_HEIGHT_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_STRIDE 0xf4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_STRIDE_STRIDE_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_STRIDE_STRIDE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_WR_STRIDE_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN0_WR_STRIDE_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_STRIDE 0xf8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_STRIDE_STRIDE_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_STRIDE_STRIDE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_WR_STRIDE_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN1_WR_STRIDE_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_STRIDE 0xfc  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_STRIDE_STRIDE_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_STRIDE_STRIDE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_WR_STRIDE_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN2_WR_STRIDE_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_HINIT 0x100  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_HINIT_INTEGER_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_HINIT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_WR_HINIT_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN0_WR_HINIT_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_HINIT 0x104  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_HINIT_INTEGER_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_HINIT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_WR_HINIT_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN1_WR_HINIT_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_HINIT 0x108  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_HINIT_INTEGER_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_HINIT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_WR_HINIT_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN2_WR_HINIT_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_VINIT 0x10c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_VINIT_INTEGER_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_VINIT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_WR_VINIT_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN0_WR_VINIT_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_VINIT 0x110  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_VINIT_INTEGER_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_VINIT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_WR_VINIT_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN1_WR_VINIT_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_VINIT 0x114  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_VINIT_INTEGER_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_VINIT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_WR_VINIT_UNUSED0_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN2_WR_VINIT_UNUSED0_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_HSTEP 0x118  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_HSTEP_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_HSTEP_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_WR_HSTEP_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN0_WR_HSTEP_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_HSTEP 0x11c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_HSTEP_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_HSTEP_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_WR_HSTEP_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN1_WR_HSTEP_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_HSTEP 0x120  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_HSTEP_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_HSTEP_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_WR_HSTEP_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN2_WR_HSTEP_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_VSTEP 0x124  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_VSTEP_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_VSTEP_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_WR_VSTEP_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN0_WR_VSTEP_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_VSTEP 0x128  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_VSTEP_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_VSTEP_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_WR_VSTEP_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN1_WR_VSTEP_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_VSTEP 0x12c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_VSTEP_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_VSTEP_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_WR_VSTEP_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN2_WR_VSTEP_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN0_WR_BLOCK_CFG 0x130  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_WR_BLOCK_CFG_BLOCKS_PER_COL_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN0_WR_BLOCK_CFG_BLOCKS_PER_COL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_WR_BLOCK_CFG_BLOCKS_PER_ROW_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN0_WR_BLOCK_CFG_BLOCKS_PER_ROW_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN1_WR_BLOCK_CFG 0x134  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_WR_BLOCK_CFG_BLOCKS_PER_COL_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN1_WR_BLOCK_CFG_BLOCKS_PER_COL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_WR_BLOCK_CFG_BLOCKS_PER_ROW_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN1_WR_BLOCK_CFG_BLOCKS_PER_ROW_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_PLN2_WR_BLOCK_CFG 0x138  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_WR_BLOCK_CFG_BLOCKS_PER_COL_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_PLN2_WR_BLOCK_CFG_BLOCKS_PER_COL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_WR_BLOCK_CFG_BLOCKS_PER_ROW_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_PLN2_WR_BLOCK_CFG_BLOCKS_PER_ROW_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_ENCODE_CFG 0x13c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_IMAGE_FORMAT_MASK 0x7
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_IMAGE_FORMAT_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_UNUSED0_MASK 0x78
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_UNUSED0_SHIFT 0x3
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_APPLY_EOI_MASK 0x80
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_APPLY_EOI_SHIFT 0x7
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_HUFFMAN_SEL_MASK 0x100
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_HUFFMAN_SEL_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_UNUSED1_MASK 0x600
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_UNUSED1_SHIFT 0x9
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_FSC_ENABLE_MASK 0x800
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_FSC_ENABLE_SHIFT 0xb
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_UNUSED2_MASK 0x7000
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_UNUSED2_SHIFT 0xc
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_OUTPUT_DISABLE_MASK 0x8000
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_OUTPUT_DISABLE_SHIFT 0xf
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_RST_MARKER_PERIOD_MASK 0xffff0000
#define JPEG_ENCODE_JPEG_0_ENCODE_CFG_RST_MARKER_PERIOD_SHIFT 0x10

#define regJPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE 0x140  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE_ENCODE_IMAGE_WIDTH_MASK 0x1fff
#define JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE_ENCODE_IMAGE_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE_UNUSED0_MASK 0xe000
#define JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE_UNUSED0_SHIFT 0xd
#define JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE_ENCODE_IMAGE_HEIGHT_MASK 0x1fff0000
#define JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE_ENCODE_IMAGE_HEIGHT_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE_UNUSED1_MASK 0xe0000000
#define JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE_UNUSED1_SHIFT 0x1d

#define regJPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE 0x14c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE_REGION_SIZE_MASK 0x1f
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE_REGION_SIZE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE_UNUSED0_MASK 0xe0
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE_UNUSED0_SHIFT 0x5
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE_HV_REGION_MASK 0x100
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE_HV_REGION_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE_UNUSED1_MASK 0xfffffe00
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE_UNUSED1_SHIFT 0x9

#define regJPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0 0x150  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0_BUDGET_REGION0_MASK 0xff
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0_BUDGET_REGION0_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0_BUDGET_REGION1_MASK 0xff00
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0_BUDGET_REGION1_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0_BUDGET_REGION2_MASK 0xff0000
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0_BUDGET_REGION2_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0_BUDGET_REGION3_MASK 0xff000000
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0_BUDGET_REGION3_SHIFT 0x18

#define regJPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1 0x154  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1_BUDGET_REGION4_MASK 0xff
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1_BUDGET_REGION4_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1_BUDGET_REGION5_MASK 0xff00
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1_BUDGET_REGION5_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1_BUDGET_REGION6_MASK 0xff0000
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1_BUDGET_REGION6_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1_BUDGET_REGION7_MASK 0xff000000
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1_BUDGET_REGION7_SHIFT 0x18

#define regJPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2 0x158  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2_BUDGET_REGION8_MASK 0xff
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2_BUDGET_REGION8_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2_BUDGET_REGION9_MASK 0xff00
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2_BUDGET_REGION9_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2_BUDGET_REGION10_MASK 0xff0000
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2_BUDGET_REGION10_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2_BUDGET_REGION11_MASK 0xff000000
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2_BUDGET_REGION11_SHIFT 0x18

#define regJPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3 0x15c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3_BUDGET_REGION12_MASK 0xff
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3_BUDGET_REGION12_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3_BUDGET_REGION13_MASK 0xff00
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3_BUDGET_REGION13_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3_BUDGET_REGION14_MASK 0xff0000
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3_BUDGET_REGION14_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3_BUDGET_REGION15_MASK 0xff000000
#define JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3_BUDGET_REGION15_SHIFT 0x18

#define regJPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_Y_STATE 0x160  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_Y_STATE_PREDICTION_Y_STATE_MASK 0x7ff
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_Y_STATE_PREDICTION_Y_STATE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_Y_STATE_UNUSED0_MASK 0xfffff800
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_Y_STATE_UNUSED0_SHIFT 0xb

#define regJPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE 0x164  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE_PREDICTION_CB_STATE_MASK 0x7ff
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE_PREDICTION_CB_STATE_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE_UNUSED0_MASK 0xf800
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE_UNUSED0_SHIFT 0xb
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE_PREDICTION_CR_STATE_MASK 0x7ff0000
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE_PREDICTION_CR_STATE_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE_UNUSED1_MASK 0xf8000000
#define JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE_UNUSED1_SHIFT 0x1b

#define regJPEG_ENCODE_JPEG_0_ENCODE_RSM_STATE 0x168  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_RSM_STATE_RST_MARKER_MCU_COUNT_MASK 0xffff
#define JPEG_ENCODE_JPEG_0_ENCODE_RSM_STATE_RST_MARKER_MCU_COUNT_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_RSM_STATE_RST_MARKER_VALUE_MASK 0x70000
#define JPEG_ENCODE_JPEG_0_ENCODE_RSM_STATE_RST_MARKER_VALUE_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_ENCODE_RSM_STATE_UNUSED0_MASK 0xfff80000
#define JPEG_ENCODE_JPEG_0_ENCODE_RSM_STATE_UNUSED0_SHIFT 0x13

#define regJPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE 0x16c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE_BIT_COUNT_MASK 0x7
#define JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE_BIT_COUNT_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE_UNUSED0_MASK 0x8
#define JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE_UNUSED0_SHIFT 0x3
#define JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE_BYTE_PACKER_LENGTH_MASK 0x7f0
#define JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE_BYTE_PACKER_LENGTH_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE_UNUSED1_MASK 0xfffff800
#define JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE_UNUSED1_SHIFT 0xb

#define regJPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD0_STATE 0x170  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD0_STATE_BYTE_PACKER_WORD0_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD0_STATE_BYTE_PACKER_WORD0_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD1_STATE 0x174  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD1_STATE_BYTE_PACKER_WORD1_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD1_STATE_BYTE_PACKER_WORD1_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD2_STATE 0x178  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD2_STATE_BYTE_PACKER_WORD2_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD2_STATE_BYTE_PACKER_WORD2_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD3_STATE 0x17c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD3_STATE_BYTE_PACKER_WORD3_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD3_STATE_BYTE_PACKER_WORD3_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_ENCODE_OUTPUT_SIZE_STATUS 0x180  /*register offset*/
#define JPEG_ENCODE_JPEG_0_ENCODE_OUTPUT_SIZE_STATUS_OUTPUT_SIZE_BYTES_MASK 0x1fffffff
#define JPEG_ENCODE_JPEG_0_ENCODE_OUTPUT_SIZE_STATUS_OUTPUT_SIZE_BYTES_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_ENCODE_OUTPUT_SIZE_STATUS_UNUSED0_MASK 0xe0000000
#define JPEG_ENCODE_JPEG_0_ENCODE_OUTPUT_SIZE_STATUS_UNUSED0_SHIFT 0x1d

#define regJPEG_ENCODE_JPEG_0_SCALE_CFG 0x26c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UNUSED0_MASK 0xf
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UNUSED0_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_HSCALE_ENABLE_MASK 0x10
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_HSCALE_ENABLE_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_VSCALE_ENABLE_MASK 0x20
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_VSCALE_ENABLE_SHIFT 0x5
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UPSAMPLE_EN_MASK 0x40
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UPSAMPLE_EN_SHIFT 0x6
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_SUBSAMPLE_EN_MASK 0x80
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_SUBSAMPLE_EN_SHIFT 0x7
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_HSCALE_ALGORITHM_MASK 0x100
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_HSCALE_ALGORITHM_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_VSCALE_ALGORITHM_MASK 0x200
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_VSCALE_ALGORITHM_SHIFT 0x9
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UNUSED1_MASK 0xc00
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UNUSED1_SHIFT 0xa
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_H_SCALE_FIR_ALGORITHM_MASK 0x3000
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_H_SCALE_FIR_ALGORITHM_SHIFT 0xc
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UNUSED2_MASK 0xc000
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UNUSED2_SHIFT 0xe
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_V_SCALE_FIR_ALGORITHM_MASK 0x30000
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_V_SCALE_FIR_ALGORITHM_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UNUSED3_MASK 0xfffc0000
#define JPEG_ENCODE_JPEG_0_SCALE_CFG_UNUSED3_SHIFT 0x12

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG 0x270  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG_BLOCK_WIDTH_MASK 0xff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG_BLOCK_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG_UNUSED0_MASK 0xff00
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG_UNUSED0_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG_BLOCK_HEIGHT_MASK 0xf0000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG_BLOCK_HEIGHT_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG_UNUSED1_MASK 0xfff00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG_UNUSED1_SHIFT 0x14

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG 0x274  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG_BLOCK_WIDTH_MASK 0xff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG_BLOCK_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG_UNUSED0_MASK 0xff00
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG_UNUSED0_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG_BLOCK_HEIGHT_MASK 0xf0000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG_BLOCK_HEIGHT_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG_UNUSED1_MASK 0xfff00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG_UNUSED1_SHIFT 0x14

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG 0x278  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG_BLOCK_WIDTH_MASK 0xff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG_BLOCK_WIDTH_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG_UNUSED0_MASK 0xff00
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG_UNUSED0_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG_BLOCK_HEIGHT_MASK 0xf0000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG_BLOCK_HEIGHT_SHIFT 0x10
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG_UNUSED1_MASK 0xfff00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG_UNUSED1_SHIFT 0x14

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN0_HSTEP 0x27c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_HSTEP_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_HSTEP_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_HSTEP_INTEGER_MASK 0x7e00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_HSTEP_INTEGER_SHIFT 0x15
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_HSTEP_UNUSED0_MASK 0xf8000000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_HSTEP_UNUSED0_SHIFT 0x1b

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN1_HSTEP 0x280  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_HSTEP_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_HSTEP_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_HSTEP_INTEGER_MASK 0x7e00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_HSTEP_INTEGER_SHIFT 0x15
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_HSTEP_UNUSED0_MASK 0xf8000000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_HSTEP_UNUSED0_SHIFT 0x1b

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN2_HSTEP 0x284  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_HSTEP_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_HSTEP_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_HSTEP_INTEGER_MASK 0x7e00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_HSTEP_INTEGER_SHIFT 0x15
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_HSTEP_UNUSED0_MASK 0xf8000000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_HSTEP_UNUSED0_SHIFT 0x1b

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN0_VSTEP 0x28c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_VSTEP_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_VSTEP_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_VSTEP_INTEGER_MASK 0x7e00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_VSTEP_INTEGER_SHIFT 0x15
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_VSTEP_UNUSED0_MASK 0xf8000000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN0_VSTEP_UNUSED0_SHIFT 0x1b

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN1_VSTEP 0x290  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_VSTEP_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_VSTEP_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_VSTEP_INTEGER_MASK 0x7e00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_VSTEP_INTEGER_SHIFT 0x15
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_VSTEP_UNUSED0_MASK 0xf8000000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN1_VSTEP_UNUSED0_SHIFT 0x1b

#define regJPEG_ENCODE_JPEG_0_SCALE_PLN2_VSTEP 0x294  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_VSTEP_FRACTIONAL_MASK 0x1fffff
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_VSTEP_FRACTIONAL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_VSTEP_INTEGER_MASK 0x7e00000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_VSTEP_INTEGER_SHIFT 0x15
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_VSTEP_UNUSED0_MASK 0xf8000000
#define JPEG_ENCODE_JPEG_0_SCALE_PLN2_VSTEP_UNUSED0_SHIFT 0x1b

#define regJPEG_ENCODE_JPEG_0_DMI_CFG 0x298  /*register offset*/
#define JPEG_ENCODE_JPEG_0_DMI_CFG_DMI_MEM_SEL_MASK 0x7
#define JPEG_ENCODE_JPEG_0_DMI_CFG_DMI_MEM_SEL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_DMI_CFG_UNUSED0_MASK 0x8
#define JPEG_ENCODE_JPEG_0_DMI_CFG_UNUSED0_SHIFT 0x3
#define JPEG_ENCODE_JPEG_0_DMI_CFG_AUTO_INC_EN_MASK 0x10
#define JPEG_ENCODE_JPEG_0_DMI_CFG_AUTO_INC_EN_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_DMI_CFG_UNUSED1_MASK 0xffffffe0
#define JPEG_ENCODE_JPEG_0_DMI_CFG_UNUSED1_SHIFT 0x5

#define regJPEG_ENCODE_JPEG_0_DMI_ADDR 0x29c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_DMI_ADDR_DMI_ADDR_MASK 0x3ff
#define JPEG_ENCODE_JPEG_0_DMI_ADDR_DMI_ADDR_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_DMI_ADDR_UNUSED0_MASK 0xfffffc00
#define JPEG_ENCODE_JPEG_0_DMI_ADDR_UNUSED0_SHIFT 0xa

#define regJPEG_ENCODE_JPEG_0_DMI_DATA 0x2a0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_DMI_DATA_DMI_DATA_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_DMI_DATA_DMI_DATA_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_TESTBUS_CFG 0x2b0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_TESTBUS_CFG_BUS_SEL_MASK 0x3f
#define JPEG_ENCODE_JPEG_0_TESTBUS_CFG_BUS_SEL_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_TESTBUS_CFG_UNUSED0_MASK 0xffffffc0
#define JPEG_ENCODE_JPEG_0_TESTBUS_CFG_UNUSED0_SHIFT 0x6

#define regJPEG_ENCODE_JPEG_0_MISR_CFG 0x2b4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR_CFG_MISR0_EN_MASK 0x1
#define JPEG_ENCODE_JPEG_0_MISR_CFG_MISR0_EN_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_MISR_CFG_MISR1_EN_MASK 0x2
#define JPEG_ENCODE_JPEG_0_MISR_CFG_MISR1_EN_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_MISR_CFG_MISR2_EN_MASK 0x4
#define JPEG_ENCODE_JPEG_0_MISR_CFG_MISR2_EN_SHIFT 0x2
#define JPEG_ENCODE_JPEG_0_MISR_CFG_UNUSED0_MASK 0xfffffff8
#define JPEG_ENCODE_JPEG_0_MISR_CFG_UNUSED0_SHIFT 0x3

#define regJPEG_ENCODE_JPEG_0_MISR0_RD0 0x2b8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR0_RD0_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR0_RD0_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR0_RD1 0x2bc  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR0_RD1_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR0_RD1_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR0_RD2 0x2c0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR0_RD2_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR0_RD2_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR0_RD3 0x2c4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR0_RD3_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR0_RD3_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR1_RD0 0x2c8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR1_RD0_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR1_RD0_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR1_RD1 0x2cc  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR1_RD1_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR1_RD1_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR1_RD2 0x2d0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR1_RD2_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR1_RD2_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR1_RD3 0x2d4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR1_RD3_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR1_RD3_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR2_RD0 0x2d8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR2_RD0_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR2_RD0_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR2_RD1 0x2dc  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR2_RD1_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR2_RD1_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR2_RD2 0x2e0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR2_RD2_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR2_RD2_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_MISR2_RD3 0x2e4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_MISR2_RD3_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_MISR2_RD3_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_FE_VBPAD_CFG 0x2e8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_FE_VBPAD_CFG_BLOCK_ROW_MASK 0x1fff
#define JPEG_ENCODE_JPEG_0_FE_VBPAD_CFG_BLOCK_ROW_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_FE_VBPAD_CFG_UNUSED0_MASK 0xffffe000
#define JPEG_ENCODE_JPEG_0_FE_VBPAD_CFG_UNUSED0_SHIFT 0xd

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_INT 0x2ec  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_INT_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_INT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_INT_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_INT_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_INT 0x2f0  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_INT_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_INT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_INT_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_INT_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_INT 0x2f4  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_INT_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_INT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_INT_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_INT_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_INT 0x2f8  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_INT_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_INT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_INT_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_INT_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_INT 0x2fc  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_INT_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_INT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_INT_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_INT_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_INT 0x300  /*register offset*/
#define JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_INT_INTEGER_MASK 0x1ffff
#define JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_INT_INTEGER_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_INT_UNUSED0_MASK 0xfffe0000
#define JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_INT_UNUSED0_SHIFT 0x11

#define regJPEG_ENCODE_JPEG_0_SPARE 0x308  /*register offset*/
#define JPEG_ENCODE_JPEG_0_SPARE_VALUE_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_SPARE_VALUE_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL 0x30c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S0_L1_MMU_PREFETCH_EN_MASK 0x1
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S0_L1_MMU_PREFETCH_EN_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S0_L1_PERIOD_MASK 0x2
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S0_L1_PERIOD_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S0_L1_DIRECTION_MASK 0x4
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S0_L1_DIRECTION_SHIFT 0x2
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_UNUSED0_MASK 0x8
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_UNUSED0_SHIFT 0x3
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S1_L1_MMU_PREFETCH_EN_MASK 0x10
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S1_L1_MMU_PREFETCH_EN_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S1_L1_PERIOD_MASK 0x20
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S1_L1_PERIOD_SHIFT 0x5
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S1_L1_DIRECTION_MASK 0x40
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S1_L1_DIRECTION_SHIFT 0x6
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_UNUSED1_MASK 0x80
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_UNUSED1_SHIFT 0x7
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S2_L1_MMU_PREFETCH_EN_MASK 0x100
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S2_L1_MMU_PREFETCH_EN_SHIFT 0x8
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S2_L1_PERIOD_MASK 0x200
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S2_L1_PERIOD_SHIFT 0x9
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S2_L1_DIRECTION_MASK 0x400
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S2_L1_DIRECTION_SHIFT 0xa
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_UNUSED2_MASK 0x800
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_UNUSED2_SHIFT 0xb
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S3_L1_MMU_PREFETCH_EN_MASK 0x1000
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S3_L1_MMU_PREFETCH_EN_SHIFT 0xc
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S3_L1_PERIOD_MASK 0x2000
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S3_L1_PERIOD_SHIFT 0xd
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S3_L1_DIRECTION_MASK 0x4000
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_S3_L1_DIRECTION_SHIFT 0xe
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_UNUSED3_MASK 0xffff8000
#define JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL_UNUSED3_SHIFT 0xf

#define regJPEG_ENCODE_JPEG_0_S0_MMU_PF_ADDR_MIN 0x310  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_ADDR_MIN_PF_ADDR_MIN_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_ADDR_MIN_PF_ADDR_MIN_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S0_MMU_PF_ADDR_MAX 0x314  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_ADDR_MAX_PF_ADDR_MAX_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_ADDR_MAX_PF_ADDR_MAX_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER 0x318  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER_L1_FILTER_EN_MASK 0x1
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER_L1_FILTER_EN_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER_UNUSED0_MASK 0xe
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER_UNUSED0_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER_L1_FILTER_DEPTH_MASK 0x70
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER_L1_FILTER_DEPTH_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER_UNUSED1_MASK 0xffffff80
#define JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER_UNUSED1_SHIFT 0x7

#define regJPEG_ENCODE_JPEG_0_S1_MMU_PF_ADDR_MIN 0x31c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_ADDR_MIN_PF_ADDR_MIN_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_ADDR_MIN_PF_ADDR_MIN_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S1_MMU_PF_ADDR_MAX 0x320  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_ADDR_MAX_PF_ADDR_MAX_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_ADDR_MAX_PF_ADDR_MAX_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER 0x324  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER_L1_FILTER_EN_MASK 0x1
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER_L1_FILTER_EN_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER_UNUSED0_MASK 0xe
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER_UNUSED0_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER_L1_FILTER_DEPTH_MASK 0x70
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER_L1_FILTER_DEPTH_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER_UNUSED1_MASK 0xffffff80
#define JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER_UNUSED1_SHIFT 0x7

#define regJPEG_ENCODE_JPEG_0_S2_MMU_PF_ADDR_MIN 0x328  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_ADDR_MIN_PF_ADDR_MIN_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_ADDR_MIN_PF_ADDR_MIN_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S2_MMU_PF_ADDR_MAX 0x32c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_ADDR_MAX_PF_ADDR_MAX_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_ADDR_MAX_PF_ADDR_MAX_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER 0x330  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER_L1_FILTER_EN_MASK 0x1
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER_L1_FILTER_EN_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER_UNUSED0_MASK 0xe
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER_UNUSED0_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER_L1_FILTER_DEPTH_MASK 0x70
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER_L1_FILTER_DEPTH_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER_UNUSED1_MASK 0xffffff80
#define JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER_UNUSED1_SHIFT 0x7

#define regJPEG_ENCODE_JPEG_0_S3_MMU_PF_ADDR_MIN 0x334  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_ADDR_MIN_PF_ADDR_MIN_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_ADDR_MIN_PF_ADDR_MIN_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S3_MMU_PF_ADDR_MAX 0x338  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_ADDR_MAX_PF_ADDR_MAX_MASK 0xffffffff
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_ADDR_MAX_PF_ADDR_MAX_SHIFT 0x0

#define regJPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER 0x33c  /*register offset*/
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER_L1_FILTER_EN_MASK 0x1
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER_L1_FILTER_EN_SHIFT 0x0
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER_UNUSED0_MASK 0xe
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER_UNUSED0_SHIFT 0x1
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER_L1_FILTER_DEPTH_MASK 0x70
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER_L1_FILTER_DEPTH_SHIFT 0x4
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER_UNUSED1_MASK 0xffffff80
#define JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER_UNUSED1_SHIFT 0x7

/*----------------------------------------------------------------------
        Register Data Structures
----------------------------------------------------------------------*/

typedef struct{
    unsigned  STEP : 16; /* 15:0 */
    unsigned  MINOR : 12; /* 27:16 */
    unsigned  MAJOR : 4; /* 31:28 */
} _jpeg_encode_jpeg_0_hw_version;

typedef union{
    _jpeg_encode_jpeg_0_hw_version bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_HW_VERSION;

typedef struct{
    unsigned  ENCODE : 1; /* 0:0 */
    unsigned  DECODE : 1; /* 1:1 */
    unsigned  UNUSED0 : 2; /* 3:2 */
    unsigned  UPSCALE : 3; /* 6:4 */
    unsigned  UNUSED1 : 1; /* 7:7 */
    unsigned  DOWNSCALE : 3; /* 10:8 */
    unsigned  UNUSED2 : 21; /* 31:11 */
} _jpeg_encode_jpeg_0_hw_capability;

typedef union{
    _jpeg_encode_jpeg_0_hw_capability bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_HW_CAPABILITY;

typedef struct{
    unsigned  FE_RESET : 1; /* 0:0 */
    unsigned  WE_RESET : 1; /* 1:1 */
    unsigned  UNUSED0 : 2; /* 3:2 */
    unsigned  ENCODER_RESET : 1; /* 4:4 */
    unsigned  DECODER_RESET : 1; /* 5:5 */
    unsigned  BLOCK_FORMATTER_RESET : 1; /* 6:6 */
    unsigned  SCALE_RESET : 1; /* 7:7 */
    unsigned  UNUSED1 : 5; /* 12:8 */
    unsigned  REGISTER_RESET : 1; /* 13:13 */
    unsigned  UNUSED2 : 2; /* 15:14 */
    unsigned  MISR_RESET : 1; /* 16:16 */
    unsigned  CORE_RESET : 1; /* 17:17 */
    unsigned  UNUSED3 : 11; /* 28:18 */
    unsigned  JPEG_DOMAIN_RESET : 1; /* 29:29 */
    unsigned  UNUSED4 : 1; /* 30:30 */
    unsigned  RESET_BYPASS : 1; /* 31:31 */
} _jpeg_encode_jpeg_0_reset_cmd;

typedef union{
    _jpeg_encode_jpeg_0_reset_cmd bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_RESET_CMD;

typedef struct{
    unsigned  FE_ENABLE : 1; /* 0:0 */
    unsigned  WE_ENABLE : 1; /* 1:1 */
    unsigned  UNUSED0 : 2; /* 3:2 */
    unsigned  JPEG_ENCODE_ENABLE : 1; /* 4:4 */
    unsigned  UNUSED1 : 2; /* 6:5 */
    unsigned  SCALE_ENABLE : 1; /* 7:7 */
    unsigned  UNUSED2 : 11; /* 18:8 */
    unsigned  TESTBUS_ENABLE : 1; /* 19:19 */
    unsigned  UNUSED3 : 4; /* 23:20 */
    unsigned  MODE : 3; /* 26:24 */
    unsigned  UNUSED4 : 4; /* 30:27 */
    unsigned  CGC_DISABLE : 1; /* 31:31 */
} _jpeg_encode_jpeg_0_core_cfg;

typedef union{
    _jpeg_encode_jpeg_0_core_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_CORE_CFG;

typedef struct{
    unsigned  HW_START : 1; /* 0:0 */
    unsigned  HW_STOP : 1; /* 1:1 */
    unsigned  UNUSED0 : 2; /* 3:2 */
    unsigned  CLEAR_RD_PLN0_QUEUE : 1; /* 4:4 */
    unsigned  CLEAR_RD_PLN1_QUEUE : 1; /* 5:5 */
    unsigned  CLEAR_RD_PLN2_QUEUE : 1; /* 6:6 */
    unsigned  UNUSED1 : 1; /* 7:7 */
    unsigned  CLEAR_WR_PLN0_QUEUE : 1; /* 8:8 */
    unsigned  CLEAR_WR_PLN1_QUEUE : 1; /* 9:9 */
    unsigned  CLEAR_WR_PLN2_QUEUE : 1; /* 10:10 */
    unsigned  APPLY_SWC_RD_PARAMS : 1; /* 11:11 */
    unsigned  UNUSED2 : 20; /* 31:12 */
} _jpeg_encode_jpeg_0_cmd;

typedef union{
    _jpeg_encode_jpeg_0_cmd bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_CMD;

typedef struct{
    unsigned  ENCODE_STATE : 1; /* 0:0 */
    unsigned  UNUSED0 : 1; /* 1:1 */
    unsigned  SCALE_STATE : 1; /* 2:2 */
    unsigned  UNUSED1 : 1; /* 3:3 */
    unsigned  REALTIME_STATE : 1; /* 4:4 */
    unsigned  UNUSED2 : 3; /* 7:5 */
    unsigned  BUS_STATE : 1; /* 8:8 */
    unsigned  TOP_LVL_CGC_STATE : 1; /* 9:9 */
    unsigned  UNUSED3 : 22; /* 31:10 */
} _jpeg_encode_jpeg_0_core_state_status;

typedef union{
    _jpeg_encode_jpeg_0_core_state_status bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_CORE_STATE_STATUS;

typedef struct{
    unsigned  MASK : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_irq_mask;

typedef union{
    _jpeg_encode_jpeg_0_irq_mask bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_IRQ_MASK;

typedef struct{
    unsigned  CLEAR : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_irq_clear;

typedef union{
    _jpeg_encode_jpeg_0_irq_clear bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_IRQ_CLEAR;

typedef struct{
    unsigned  STATUS : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_irq_status;

typedef union{
    _jpeg_encode_jpeg_0_irq_status bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_IRQ_STATUS;

typedef struct{
    unsigned  BYTE_ORDERING : 4; /* 3:0 */
    unsigned  BURST_LENGTH_MAX : 4; /* 7:4 */
    unsigned  MEMORY_FORMAT : 2; /* 9:8 */
    unsigned  UNUSED0 : 2; /* 11:10 */
    unsigned  CBCR_ORDER : 1; /* 12:12 */
    unsigned  BOTTOM_VPAD_EN : 1; /* 13:13 */
    unsigned  UNUSED1 : 2; /* 15:14 */
    unsigned  PLN0_EN : 1; /* 16:16 */
    unsigned  PLN1_EN : 1; /* 17:17 */
    unsigned  PLN2_EN : 1; /* 18:18 */
    unsigned  UNUSED2 : 2; /* 20:19 */
    unsigned  SIXTEEN_MCU_EN : 1; /* 21:21 */
    unsigned  MCUS_PER_BLOCK : 2; /* 23:22 */
    unsigned  MAL_BOUNDARY : 3; /* 26:24 */
    unsigned  MAL_EN : 1; /* 27:27 */
    unsigned  UNUSED3 : 4; /* 31:28 */
} _jpeg_encode_jpeg_0_fe_cfg;

typedef union{
    _jpeg_encode_jpeg_0_fe_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_FE_CFG;

typedef struct{
    unsigned  PRIORITY : 4; /* 3:0 */
    unsigned  UNUSED0 : 28; /* 31:4 */
} _jpeg_encode_jpeg_0_fe_qos_cfg;

typedef union{
    _jpeg_encode_jpeg_0_fe_qos_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_FE_QOS_CFG;

typedef struct{
    unsigned  PNTR : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln0_rd_pntr;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_pntr bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_PNTR;

typedef struct{
    unsigned  OFFSET : 29; /* 28:0 */
    unsigned  UNUSED0 : 3; /* 31:29 */
} _jpeg_encode_jpeg_0_pln0_rd_offset;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_offset bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_OFFSET;

typedef struct{
    unsigned  PNTR_CNSMD : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln0_rd_pntr_cnsmd;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_pntr_cnsmd bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_PNTR_CNSMD;

typedef struct{
    unsigned  PNTR : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln1_rd_pntr;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_pntr bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_PNTR;

typedef struct{
    unsigned  OFFSET : 29; /* 28:0 */
    unsigned  UNUSED0 : 3; /* 31:29 */
} _jpeg_encode_jpeg_0_pln1_rd_offset;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_offset bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_OFFSET;

typedef struct{
    unsigned  PNTR_CNSMD : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln1_rd_pntr_cnsmd;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_pntr_cnsmd bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_PNTR_CNSMD;

typedef struct{
    unsigned  PNTR : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln2_rd_pntr;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_pntr bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_PNTR;

typedef struct{
    unsigned  OFFSET : 29; /* 28:0 */
    unsigned  UNUSED0 : 3; /* 31:29 */
} _jpeg_encode_jpeg_0_pln2_rd_offset;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_offset bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_OFFSET;

typedef struct{
    unsigned  PNTR_CNSMD : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln2_rd_pntr_cnsmd;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_pntr_cnsmd bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_PNTR_CNSMD;

typedef struct{
    unsigned  PLN0_PNTR_CNT : 3; /* 2:0 */
    unsigned  UNUSED0 : 1; /* 3:3 */
    unsigned  PLN1_PNTR_CNT : 3; /* 6:4 */
    unsigned  UNUSED1 : 1; /* 7:7 */
    unsigned  PLN2_PNTR_CNT : 3; /* 10:8 */
    unsigned  UNUSED2 : 21; /* 31:11 */
} _jpeg_encode_jpeg_0_rd_pntr_cnt;

typedef union{
    _jpeg_encode_jpeg_0_rd_pntr_cnt bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_RD_PNTR_CNT;

typedef struct{
    unsigned  WIDTH : 16; /* 15:0 */
    unsigned  HEIGHT : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln0_rd_buffer_size;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_buffer_size bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_BUFFER_SIZE;

typedef struct{
    unsigned  STRIDE : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln0_rd_stride;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_stride bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_STRIDE;

typedef struct{
    unsigned  WIDTH : 16; /* 15:0 */
    unsigned  HEIGHT : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln1_rd_buffer_size;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_buffer_size bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_BUFFER_SIZE;

typedef struct{
    unsigned  STRIDE : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln1_rd_stride;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_stride bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_STRIDE;

typedef struct{
    unsigned  WIDTH : 16; /* 15:0 */
    unsigned  HEIGHT : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln2_rd_buffer_size;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_buffer_size bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_BUFFER_SIZE;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  UNUSED0 : 11; /* 31:21 */
} _jpeg_encode_jpeg_0_pln0_rd_hinit;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_hinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  UNUSED0 : 11; /* 31:21 */
} _jpeg_encode_jpeg_0_pln1_rd_hinit;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_hinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  UNUSED0 : 11; /* 31:21 */
} _jpeg_encode_jpeg_0_pln2_rd_hinit;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_hinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  UNUSED0 : 11; /* 31:21 */
} _jpeg_encode_jpeg_0_pln0_rd_vinit;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_vinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  UNUSED0 : 11; /* 31:21 */
} _jpeg_encode_jpeg_0_pln1_rd_vinit;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_vinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  UNUSED0 : 11; /* 31:21 */
} _jpeg_encode_jpeg_0_pln2_rd_vinit;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_vinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT;

typedef struct{
    unsigned  STRIDE : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln2_rd_stride;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_stride bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_STRIDE;

typedef struct{
    unsigned  BYTE_ORDERING : 4; /* 3:0 */
    unsigned  BURST_LENGTH_MAX : 4; /* 7:4 */
    unsigned  MEMORY_FORMAT : 2; /* 9:8 */
    unsigned  UNUSED0 : 2; /* 11:10 */
    unsigned  CBCR_ORDER : 1; /* 12:12 */
    unsigned  UNUSED1 : 3; /* 15:13 */
    unsigned  PLN0_EN : 1; /* 16:16 */
    unsigned  PLN1_EN : 1; /* 17:17 */
    unsigned  PLN2_EN : 1; /* 18:18 */
    unsigned  UNUSED2 : 5; /* 23:19 */
    unsigned  MAL_BOUNDARY : 3; /* 26:24 */
    unsigned  MAL_EN : 1; /* 27:27 */
    unsigned  POP_BUFF_ON_EOS : 1; /* 28:28 */
    unsigned  UNUSED3 : 3; /* 31:29 */
} _jpeg_encode_jpeg_0_we_cfg;

typedef union{
    _jpeg_encode_jpeg_0_we_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_WE_CFG;

typedef struct{
    unsigned  PRIORITY_000 : 4; /* 3:0 */
    unsigned  PRIORITY_001 : 4; /* 7:4 */
    unsigned  PRIORITY_010 : 4; /* 11:8 */
    unsigned  PRIORITY_011 : 4; /* 15:12 */
    unsigned  PRIORITY_100 : 4; /* 19:16 */
    unsigned  PRIORITY_101 : 4; /* 23:20 */
    unsigned  PRIORITY_110 : 4; /* 27:24 */
    unsigned  PRIORITY_111 : 4; /* 31:28 */
} _jpeg_encode_jpeg_0_we_qos_cfg;

typedef union{
    _jpeg_encode_jpeg_0_we_qos_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_WE_QOS_CFG;

typedef struct{
    unsigned  PNTR : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln0_wr_pntr;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_pntr bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_PNTR;

typedef struct{
    unsigned  PNTR : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln1_wr_pntr;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_pntr bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_PNTR;

typedef struct{
    unsigned  PNTR : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln2_wr_pntr;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_pntr bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_PNTR;

typedef struct{
    unsigned  PNTR_CNSMD : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln0_wr_pntr_cnsmd;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_pntr_cnsmd bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_PNTR_CNSMD;

typedef struct{
    unsigned  PNTR_CNSMD : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln1_wr_pntr_cnsmd;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_pntr_cnsmd bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_PNTR_CNSMD;

typedef struct{
    unsigned  PNTR_CNSMD : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_pln2_wr_pntr_cnsmd;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_pntr_cnsmd bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_PNTR_CNSMD;

typedef struct{
    unsigned  PLN0_PNTR_CNT : 4; /* 3:0 */
    unsigned  PLN1_PNTR_CNT : 4; /* 7:4 */
    unsigned  PLN2_PNTR_CNT : 4; /* 11:8 */
    unsigned  UNUSED0 : 20; /* 31:12 */
} _jpeg_encode_jpeg_0_wr_pntr_cnt;

typedef union{
    _jpeg_encode_jpeg_0_wr_pntr_cnt bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_WR_PNTR_CNT;

typedef struct{
    unsigned  WIDTH : 16; /* 15:0 */
    unsigned  HEIGHT : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln0_wr_buffer_size;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_buffer_size bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_BUFFER_SIZE;

typedef struct{
    unsigned  WIDTH : 16; /* 15:0 */
    unsigned  HEIGHT : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln1_wr_buffer_size;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_buffer_size bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_BUFFER_SIZE;

typedef struct{
    unsigned  WIDTH : 16; /* 15:0 */
    unsigned  HEIGHT : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln2_wr_buffer_size;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_buffer_size bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_BUFFER_SIZE;

typedef struct{
    unsigned  STRIDE : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln0_wr_stride;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_stride bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_STRIDE;

typedef struct{
    unsigned  STRIDE : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln1_wr_stride;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_stride bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_STRIDE;

typedef struct{
    unsigned  STRIDE : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln2_wr_stride;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_stride bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_STRIDE;

typedef struct{
    unsigned  INTEGER : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln0_wr_hinit;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_hinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_HINIT;

typedef struct{
    unsigned  INTEGER : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln1_wr_hinit;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_hinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_HINIT;

typedef struct{
    unsigned  INTEGER : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln2_wr_hinit;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_hinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_HINIT;

typedef struct{
    unsigned  INTEGER : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln0_wr_vinit;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_vinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_VINIT;

typedef struct{
    unsigned  INTEGER : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln1_wr_vinit;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_vinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_VINIT;

typedef struct{
    unsigned  INTEGER : 16; /* 15:0 */
    unsigned  UNUSED0 : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln2_wr_vinit;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_vinit bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_VINIT;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln0_wr_hstep;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_hstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_HSTEP;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln1_wr_hstep;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_hstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_HSTEP;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln2_wr_hstep;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_hstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_HSTEP;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln0_wr_vstep;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_vstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_VSTEP;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln1_wr_vstep;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_vstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_VSTEP;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln2_wr_vstep;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_vstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_VSTEP;

typedef struct{
    unsigned  BLOCKS_PER_COL : 16; /* 15:0 */
    unsigned  BLOCKS_PER_ROW : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln0_wr_block_cfg;

typedef union{
    _jpeg_encode_jpeg_0_pln0_wr_block_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_WR_BLOCK_CFG;

typedef struct{
    unsigned  BLOCKS_PER_COL : 16; /* 15:0 */
    unsigned  BLOCKS_PER_ROW : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln1_wr_block_cfg;

typedef union{
    _jpeg_encode_jpeg_0_pln1_wr_block_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_WR_BLOCK_CFG;

typedef struct{
    unsigned  BLOCKS_PER_COL : 16; /* 15:0 */
    unsigned  BLOCKS_PER_ROW : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_pln2_wr_block_cfg;

typedef union{
    _jpeg_encode_jpeg_0_pln2_wr_block_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_WR_BLOCK_CFG;

typedef struct{
    unsigned  IMAGE_FORMAT : 3; /* 2:0 */
    unsigned  UNUSED0 : 4; /* 6:3 */
    unsigned  APPLY_EOI : 1; /* 7:7 */
    unsigned  HUFFMAN_SEL : 1; /* 8:8 */
    unsigned  UNUSED1 : 2; /* 10:9 */
    unsigned  FSC_ENABLE : 1; /* 11:11 */
    unsigned  UNUSED2 : 3; /* 14:12 */
    unsigned  OUTPUT_DISABLE : 1; /* 15:15 */
    unsigned  RST_MARKER_PERIOD : 16; /* 31:16 */
} _jpeg_encode_jpeg_0_encode_cfg;

typedef union{
    _jpeg_encode_jpeg_0_encode_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_CFG;

typedef struct{
    unsigned  ENCODE_IMAGE_WIDTH : 13; /* 12:0 */
    unsigned  UNUSED0 : 3; /* 15:13 */
    unsigned  ENCODE_IMAGE_HEIGHT : 13; /* 28:16 */
    unsigned  UNUSED1 : 3; /* 31:29 */
} _jpeg_encode_jpeg_0_encode_image_size;

typedef union{
    _jpeg_encode_jpeg_0_encode_image_size bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_IMAGE_SIZE;

typedef struct{
    unsigned  REGION_SIZE : 5; /* 4:0 */
    unsigned  UNUSED0 : 3; /* 7:5 */
    unsigned  HV_REGION : 1; /* 8:8 */
    unsigned  UNUSED1 : 23; /* 31:9 */
} _jpeg_encode_jpeg_0_encode_fsc_region_size;

typedef union{
    _jpeg_encode_jpeg_0_encode_fsc_region_size bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_FSC_REGION_SIZE;

typedef struct{
    unsigned  BUDGET_REGION0 : 8; /* 7:0 */
    unsigned  BUDGET_REGION1 : 8; /* 15:8 */
    unsigned  BUDGET_REGION2 : 8; /* 23:16 */
    unsigned  BUDGET_REGION3 : 8; /* 31:24 */
} _jpeg_encode_jpeg_0_encode_fsc_budget_0;

typedef union{
    _jpeg_encode_jpeg_0_encode_fsc_budget_0 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_0;

typedef struct{
    unsigned  BUDGET_REGION4 : 8; /* 7:0 */
    unsigned  BUDGET_REGION5 : 8; /* 15:8 */
    unsigned  BUDGET_REGION6 : 8; /* 23:16 */
    unsigned  BUDGET_REGION7 : 8; /* 31:24 */
} _jpeg_encode_jpeg_0_encode_fsc_budget_1;

typedef union{
    _jpeg_encode_jpeg_0_encode_fsc_budget_1 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_1;

typedef struct{
    unsigned  BUDGET_REGION8 : 8; /* 7:0 */
    unsigned  BUDGET_REGION9 : 8; /* 15:8 */
    unsigned  BUDGET_REGION10 : 8; /* 23:16 */
    unsigned  BUDGET_REGION11 : 8; /* 31:24 */
} _jpeg_encode_jpeg_0_encode_fsc_budget_2;

typedef union{
    _jpeg_encode_jpeg_0_encode_fsc_budget_2 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_2;

typedef struct{
    unsigned  BUDGET_REGION12 : 8; /* 7:0 */
    unsigned  BUDGET_REGION13 : 8; /* 15:8 */
    unsigned  BUDGET_REGION14 : 8; /* 23:16 */
    unsigned  BUDGET_REGION15 : 8; /* 31:24 */
} _jpeg_encode_jpeg_0_encode_fsc_budget_3;

typedef union{
    _jpeg_encode_jpeg_0_encode_fsc_budget_3 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_FSC_BUDGET_3;

typedef struct{
    unsigned  PREDICTION_Y_STATE : 11; /* 10:0 */
    unsigned  UNUSED0 : 21; /* 31:11 */
} _jpeg_encode_jpeg_0_encode_prediction_y_state;

typedef union{
    _jpeg_encode_jpeg_0_encode_prediction_y_state bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_Y_STATE;

typedef struct{
    unsigned  PREDICTION_CB_STATE : 11; /* 10:0 */
    unsigned  UNUSED0 : 5; /* 15:11 */
    unsigned  PREDICTION_CR_STATE : 11; /* 26:16 */
    unsigned  UNUSED1 : 5; /* 31:27 */
} _jpeg_encode_jpeg_0_encode_prediction_c_state;

typedef union{
    _jpeg_encode_jpeg_0_encode_prediction_c_state bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_PREDICTION_C_STATE;

typedef struct{
    unsigned  RST_MARKER_MCU_COUNT : 16; /* 15:0 */
    unsigned  RST_MARKER_VALUE : 3; /* 18:16 */
    unsigned  UNUSED0 : 13; /* 31:19 */
} _jpeg_encode_jpeg_0_encode_rsm_state;

typedef union{
    _jpeg_encode_jpeg_0_encode_rsm_state bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_RSM_STATE;

typedef struct{
    unsigned  BIT_COUNT : 3; /* 2:0 */
    unsigned  UNUSED0 : 1; /* 3:3 */
    unsigned  BYTE_PACKER_LENGTH : 7; /* 10:4 */
    unsigned  UNUSED1 : 21; /* 31:11 */
} _jpeg_encode_jpeg_0_encode_packer_state;

typedef union{
    _jpeg_encode_jpeg_0_encode_packer_state bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_PACKER_STATE;

typedef struct{
    unsigned  BYTE_PACKER_WORD0 : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_encode_byte_packer_word0_state;

typedef union{
    _jpeg_encode_jpeg_0_encode_byte_packer_word0_state bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD0_STATE;

typedef struct{
    unsigned  BYTE_PACKER_WORD1 : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_encode_byte_packer_word1_state;

typedef union{
    _jpeg_encode_jpeg_0_encode_byte_packer_word1_state bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD1_STATE;

typedef struct{
    unsigned  BYTE_PACKER_WORD2 : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_encode_byte_packer_word2_state;

typedef union{
    _jpeg_encode_jpeg_0_encode_byte_packer_word2_state bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD2_STATE;

typedef struct{
    unsigned  BYTE_PACKER_WORD3 : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_encode_byte_packer_word3_state;

typedef union{
    _jpeg_encode_jpeg_0_encode_byte_packer_word3_state bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_BYTE_PACKER_WORD3_STATE;

typedef struct{
    unsigned  OUTPUT_SIZE_BYTES : 29; /* 28:0 */
    unsigned  UNUSED0 : 3; /* 31:29 */
} _jpeg_encode_jpeg_0_encode_output_size_status;

typedef union{
    _jpeg_encode_jpeg_0_encode_output_size_status bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_ENCODE_OUTPUT_SIZE_STATUS;

typedef struct{
    unsigned  UNUSED0 : 4; /* 3:0 */
    unsigned  HSCALE_ENABLE : 1; /* 4:4 */
    unsigned  VSCALE_ENABLE : 1; /* 5:5 */
    unsigned  UPSAMPLE_EN : 1; /* 6:6 */
    unsigned  SUBSAMPLE_EN : 1; /* 7:7 */
    unsigned  HSCALE_ALGORITHM : 1; /* 8:8 */
    unsigned  VSCALE_ALGORITHM : 1; /* 9:9 */
    unsigned  UNUSED1 : 2; /* 11:10 */
    unsigned  H_SCALE_FIR_ALGORITHM : 2; /* 13:12 */
    unsigned  UNUSED2 : 2; /* 15:14 */
    unsigned  V_SCALE_FIR_ALGORITHM : 2; /* 17:16 */
    unsigned  UNUSED3 : 14; /* 31:18 */
} _jpeg_encode_jpeg_0_scale_cfg;

typedef union{
    _jpeg_encode_jpeg_0_scale_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_CFG;

typedef struct{
    unsigned  BLOCK_WIDTH : 8; /* 7:0 */
    unsigned  UNUSED0 : 8; /* 15:8 */
    unsigned  BLOCK_HEIGHT : 4; /* 19:16 */
    unsigned  UNUSED1 : 12; /* 31:20 */
} _jpeg_encode_jpeg_0_scale_pln0_output_cfg;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln0_output_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN0_OUTPUT_CFG;

typedef struct{
    unsigned  BLOCK_WIDTH : 8; /* 7:0 */
    unsigned  UNUSED0 : 8; /* 15:8 */
    unsigned  BLOCK_HEIGHT : 4; /* 19:16 */
    unsigned  UNUSED1 : 12; /* 31:20 */
} _jpeg_encode_jpeg_0_scale_pln1_output_cfg;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln1_output_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN1_OUTPUT_CFG;

typedef struct{
    unsigned  BLOCK_WIDTH : 8; /* 7:0 */
    unsigned  UNUSED0 : 8; /* 15:8 */
    unsigned  BLOCK_HEIGHT : 4; /* 19:16 */
    unsigned  UNUSED1 : 12; /* 31:20 */
} _jpeg_encode_jpeg_0_scale_pln2_output_cfg;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln2_output_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN2_OUTPUT_CFG;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  INTEGER : 6; /* 26:21 */
    unsigned  UNUSED0 : 5; /* 31:27 */
} _jpeg_encode_jpeg_0_scale_pln0_hstep;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln0_hstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN0_HSTEP;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  INTEGER : 6; /* 26:21 */
    unsigned  UNUSED0 : 5; /* 31:27 */
} _jpeg_encode_jpeg_0_scale_pln1_hstep;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln1_hstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN1_HSTEP;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  INTEGER : 6; /* 26:21 */
    unsigned  UNUSED0 : 5; /* 31:27 */
} _jpeg_encode_jpeg_0_scale_pln2_hstep;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln2_hstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN2_HSTEP;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  INTEGER : 6; /* 26:21 */
    unsigned  UNUSED0 : 5; /* 31:27 */
} _jpeg_encode_jpeg_0_scale_pln0_vstep;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln0_vstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN0_VSTEP;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  INTEGER : 6; /* 26:21 */
    unsigned  UNUSED0 : 5; /* 31:27 */
} _jpeg_encode_jpeg_0_scale_pln1_vstep;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln1_vstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN1_VSTEP;

typedef struct{
    unsigned  FRACTIONAL : 21; /* 20:0 */
    unsigned  INTEGER : 6; /* 26:21 */
    unsigned  UNUSED0 : 5; /* 31:27 */
} _jpeg_encode_jpeg_0_scale_pln2_vstep;

typedef union{
    _jpeg_encode_jpeg_0_scale_pln2_vstep bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SCALE_PLN2_VSTEP;

typedef struct{
    unsigned  DMI_MEM_SEL : 3; /* 2:0 */
    unsigned  UNUSED0 : 1; /* 3:3 */
    unsigned  AUTO_INC_EN : 1; /* 4:4 */
    unsigned  UNUSED1 : 27; /* 31:5 */
} _jpeg_encode_jpeg_0_dmi_cfg;

typedef union{
    _jpeg_encode_jpeg_0_dmi_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_DMI_CFG;

typedef struct{
    unsigned  DMI_ADDR : 10; /* 9:0 */
    unsigned  UNUSED0 : 22; /* 31:10 */
} _jpeg_encode_jpeg_0_dmi_addr;

typedef union{
    _jpeg_encode_jpeg_0_dmi_addr bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_DMI_ADDR;

typedef struct{
    unsigned  DMI_DATA : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_dmi_data;

typedef union{
    _jpeg_encode_jpeg_0_dmi_data bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_DMI_DATA;

typedef struct{
    unsigned  BUS_SEL : 6; /* 5:0 */
    unsigned  UNUSED0 : 26; /* 31:6 */
} _jpeg_encode_jpeg_0_testbus_cfg;

typedef union{
    _jpeg_encode_jpeg_0_testbus_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_TESTBUS_CFG;

typedef struct{
    unsigned  MISR0_EN : 1; /* 0:0 */
    unsigned  MISR1_EN : 1; /* 1:1 */
    unsigned  MISR2_EN : 1; /* 2:2 */
    unsigned  UNUSED0 : 29; /* 31:3 */
} _jpeg_encode_jpeg_0_misr_cfg;

typedef union{
    _jpeg_encode_jpeg_0_misr_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR_CFG;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr0_rd0;

typedef union{
    _jpeg_encode_jpeg_0_misr0_rd0 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR0_RD0;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr0_rd1;

typedef union{
    _jpeg_encode_jpeg_0_misr0_rd1 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR0_RD1;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr0_rd2;

typedef union{
    _jpeg_encode_jpeg_0_misr0_rd2 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR0_RD2;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr0_rd3;

typedef union{
    _jpeg_encode_jpeg_0_misr0_rd3 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR0_RD3;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr1_rd0;

typedef union{
    _jpeg_encode_jpeg_0_misr1_rd0 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR1_RD0;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr1_rd1;

typedef union{
    _jpeg_encode_jpeg_0_misr1_rd1 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR1_RD1;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr1_rd2;

typedef union{
    _jpeg_encode_jpeg_0_misr1_rd2 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR1_RD2;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr1_rd3;

typedef union{
    _jpeg_encode_jpeg_0_misr1_rd3 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR1_RD3;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr2_rd0;

typedef union{
    _jpeg_encode_jpeg_0_misr2_rd0 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR2_RD0;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr2_rd1;

typedef union{
    _jpeg_encode_jpeg_0_misr2_rd1 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR2_RD1;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr2_rd2;

typedef union{
    _jpeg_encode_jpeg_0_misr2_rd2 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR2_RD2;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_misr2_rd3;

typedef union{
    _jpeg_encode_jpeg_0_misr2_rd3 bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_MISR2_RD3;

typedef struct{
    unsigned  BLOCK_ROW : 13; /* 12:0 */
    unsigned  UNUSED0 : 19; /* 31:13 */
} _jpeg_encode_jpeg_0_fe_vbpad_cfg;

typedef union{
    _jpeg_encode_jpeg_0_fe_vbpad_cfg bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_FE_VBPAD_CFG;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln0_rd_hinit_int;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_hinit_int bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_HINIT_INT;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln1_rd_hinit_int;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_hinit_int bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_HINIT_INT;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln2_rd_hinit_int;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_hinit_int bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_HINIT_INT;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln0_rd_vinit_int;

typedef union{
    _jpeg_encode_jpeg_0_pln0_rd_vinit_int bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN0_RD_VINIT_INT;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln1_rd_vinit_int;

typedef union{
    _jpeg_encode_jpeg_0_pln1_rd_vinit_int bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN1_RD_VINIT_INT;

typedef struct{
    unsigned  INTEGER : 17; /* 16:0 */
    unsigned  UNUSED0 : 15; /* 31:17 */
} _jpeg_encode_jpeg_0_pln2_rd_vinit_int;

typedef union{
    _jpeg_encode_jpeg_0_pln2_rd_vinit_int bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_PLN2_RD_VINIT_INT;

typedef struct{
    unsigned  VALUE : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_spare;

typedef union{
    _jpeg_encode_jpeg_0_spare bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_SPARE;

typedef struct{
    unsigned  S0_L1_MMU_PREFETCH_EN : 1; /* 0:0 */
    unsigned  S0_L1_PERIOD : 1; /* 1:1 */
    unsigned  S0_L1_DIRECTION : 1; /* 2:2 */
    unsigned  UNUSED0 : 1; /* 3:3 */
    unsigned  S1_L1_MMU_PREFETCH_EN : 1; /* 4:4 */
    unsigned  S1_L1_PERIOD : 1; /* 5:5 */
    unsigned  S1_L1_DIRECTION : 1; /* 6:6 */
    unsigned  UNUSED1 : 1; /* 7:7 */
    unsigned  S2_L1_MMU_PREFETCH_EN : 1; /* 8:8 */
    unsigned  S2_L1_PERIOD : 1; /* 9:9 */
    unsigned  S2_L1_DIRECTION : 1; /* 10:10 */
    unsigned  UNUSED2 : 1; /* 11:11 */
    unsigned  S3_L1_MMU_PREFETCH_EN : 1; /* 12:12 */
    unsigned  S3_L1_PERIOD : 1; /* 13:13 */
    unsigned  S3_L1_DIRECTION : 1; /* 14:14 */
    unsigned  UNUSED3 : 17; /* 31:15 */
} _jpeg_encode_jpeg_0_s0_s3_mmu_pf_cntl;

typedef union{
    _jpeg_encode_jpeg_0_s0_s3_mmu_pf_cntl bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S0_S3_MMU_PF_CNTL;

typedef struct{
    unsigned  PF_ADDR_MIN : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_s0_mmu_pf_addr_min;

typedef union{
    _jpeg_encode_jpeg_0_s0_mmu_pf_addr_min bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S0_MMU_PF_ADDR_MIN;

typedef struct{
    unsigned  PF_ADDR_MAX : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_s0_mmu_pf_addr_max;

typedef union{
    _jpeg_encode_jpeg_0_s0_mmu_pf_addr_max bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S0_MMU_PF_ADDR_MAX;

typedef struct{
    unsigned  L1_FILTER_EN : 1; /* 0:0 */
    unsigned  UNUSED0 : 3; /* 3:1 */
    unsigned  L1_FILTER_DEPTH : 3; /* 6:4 */
    unsigned  UNUSED1 : 25; /* 31:7 */
} _jpeg_encode_jpeg_0_s0_mmu_pf_ctl_l1_filter;

typedef union{
    _jpeg_encode_jpeg_0_s0_mmu_pf_ctl_l1_filter bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S0_MMU_PF_CTL_L1_FILTER;

typedef struct{
    unsigned  PF_ADDR_MIN : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_s1_mmu_pf_addr_min;

typedef union{
    _jpeg_encode_jpeg_0_s1_mmu_pf_addr_min bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S1_MMU_PF_ADDR_MIN;

typedef struct{
    unsigned  PF_ADDR_MAX : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_s1_mmu_pf_addr_max;

typedef union{
    _jpeg_encode_jpeg_0_s1_mmu_pf_addr_max bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S1_MMU_PF_ADDR_MAX;

typedef struct{
    unsigned  L1_FILTER_EN : 1; /* 0:0 */
    unsigned  UNUSED0 : 3; /* 3:1 */
    unsigned  L1_FILTER_DEPTH : 3; /* 6:4 */
    unsigned  UNUSED1 : 25; /* 31:7 */
} _jpeg_encode_jpeg_0_s1_mmu_pf_ctl_l1_filter;

typedef union{
    _jpeg_encode_jpeg_0_s1_mmu_pf_ctl_l1_filter bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S1_MMU_PF_CTL_L1_FILTER;

typedef struct{
    unsigned  PF_ADDR_MIN : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_s2_mmu_pf_addr_min;

typedef union{
    _jpeg_encode_jpeg_0_s2_mmu_pf_addr_min bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S2_MMU_PF_ADDR_MIN;

typedef struct{
    unsigned  PF_ADDR_MAX : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_s2_mmu_pf_addr_max;

typedef union{
    _jpeg_encode_jpeg_0_s2_mmu_pf_addr_max bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S2_MMU_PF_ADDR_MAX;

typedef struct{
    unsigned  L1_FILTER_EN : 1; /* 0:0 */
    unsigned  UNUSED0 : 3; /* 3:1 */
    unsigned  L1_FILTER_DEPTH : 3; /* 6:4 */
    unsigned  UNUSED1 : 25; /* 31:7 */
} _jpeg_encode_jpeg_0_s2_mmu_pf_ctl_l1_filter;

typedef union{
    _jpeg_encode_jpeg_0_s2_mmu_pf_ctl_l1_filter bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S2_MMU_PF_CTL_L1_FILTER;

typedef struct{
    unsigned  PF_ADDR_MIN : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_s3_mmu_pf_addr_min;

typedef union{
    _jpeg_encode_jpeg_0_s3_mmu_pf_addr_min bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S3_MMU_PF_ADDR_MIN;

typedef struct{
    unsigned  PF_ADDR_MAX : 32; /* 31:0 */
} _jpeg_encode_jpeg_0_s3_mmu_pf_addr_max;

typedef union{
    _jpeg_encode_jpeg_0_s3_mmu_pf_addr_max bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S3_MMU_PF_ADDR_MAX;

typedef struct{
    unsigned  L1_FILTER_EN : 1; /* 0:0 */
    unsigned  UNUSED0 : 3; /* 3:1 */
    unsigned  L1_FILTER_DEPTH : 3; /* 6:4 */
    unsigned  UNUSED1 : 25; /* 31:7 */
} _jpeg_encode_jpeg_0_s3_mmu_pf_ctl_l1_filter;

typedef union{
    _jpeg_encode_jpeg_0_s3_mmu_pf_ctl_l1_filter bitfields,bits;
    unsigned int u32All;

} JPEG_ENCODE_JPEG_0_S3_MMU_PF_CTL_L1_FILTER;

/*----------------------------------------------------------------------
        ENUM Data Structures
----------------------------------------------------------------------*/

typedef enum{
    JPEG_ENCODE_JPEG_0_CORE_CFG_FE_ENABLE_FETCH_ENGINE_DISABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_CORE_CFG_FE_ENABLE_FETCH_ENGINE_ENABLED  = 0x1
} JPEG_ENCODE_JPEG_0_CORE_CFG_FE_ENABLE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_CORE_CFG_WE_ENABLE_WRITE_ENGINE_DISABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_CORE_CFG_WE_ENABLE_WRITE_ENGINE_ENABLED  = 0x1
} JPEG_ENCODE_JPEG_0_CORE_CFG_WE_ENABLE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_CORE_CFG_JPEG_ENCODE_ENABLE_JPEG_ENCODE_DISABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_CORE_CFG_JPEG_ENCODE_ENABLE_JPEG_ENCODE_ENABLED  = 0x1
} JPEG_ENCODE_JPEG_0_CORE_CFG_JPEG_ENCODE_ENABLE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_CORE_CFG_SCALE_ENABLE_SCALE_DISABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_CORE_CFG_SCALE_ENABLE_SCALE_ENABLED  = 0x1
} JPEG_ENCODE_JPEG_0_CORE_CFG_SCALE_ENABLE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_CORE_CFG_TESTBUS_ENABLE_TESTBUS_DISABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_CORE_CFG_TESTBUS_ENABLE_TESTBUS_ENABLED  = 0x1
} JPEG_ENCODE_JPEG_0_CORE_CFG_TESTBUS_ENABLE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_CORE_CFG_MODE_OFFLINE_JPEG_ENCODE  = 0x1
} JPEG_ENCODE_JPEG_0_CORE_CFG_MODE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_CORE_CFG_CGC_DISABLE_CGC_ENABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_CORE_CFG_CGC_DISABLE_CGC_DISABLED  = 0x1
} JPEG_ENCODE_JPEG_0_CORE_CFG_CGC_DISABLE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_FE_CFG_MEMORY_FORMAT_PLANAR  = 0x0,
    JPEG_ENCODE_JPEG_0_FE_CFG_MEMORY_FORMAT_PSEUDO_PLANAR  = 0x1,
    JPEG_ENCODE_JPEG_0_FE_CFG_MEMORY_FORMAT_MONOCHROME  = 0x2,
    JPEG_ENCODE_JPEG_0_FE_CFG_MEMORY_FORMAT_CO_EFFICIENT  = 0x3
} JPEG_ENCODE_JPEG_0_FE_CFG_MEMORY_FORMAT_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_FE_CFG_MCUS_PER_BLOCK_ONE_MCU  = 0x0,
    JPEG_ENCODE_JPEG_0_FE_CFG_MCUS_PER_BLOCK_TWO_MCU  = 0x1,
    JPEG_ENCODE_JPEG_0_FE_CFG_MCUS_PER_BLOCK_FOUR_MCU  = 0x2,
    JPEG_ENCODE_JPEG_0_FE_CFG_MCUS_PER_BLOCK_EIGHT_MCU  = 0x3
} JPEG_ENCODE_JPEG_0_FE_CFG_MCUS_PER_BLOCK_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MAL_32_BYTES  = 0x0,
    JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MAL_64_BYTES  = 0x1,
    JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MAL_128_BYTES  = 0x2,
    JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MAL_256_BYTES  = 0x3,
    JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MAL_512_BYTES  = 0x4,
    JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MAL_1024_BYTES  = 0x5,
    JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MAL_2048_BYTES  = 0x6,
    JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_MAL_4096_BYTES  = 0x7
} JPEG_ENCODE_JPEG_0_FE_CFG_MAL_BOUNDARY_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_WE_CFG_MEMORY_FORMAT_PLANAR  = 0x0,
    JPEG_ENCODE_JPEG_0_WE_CFG_MEMORY_FORMAT_PSEUDO_PLANAR  = 0x1,
    JPEG_ENCODE_JPEG_0_WE_CFG_MEMORY_FORMAT_MONOCHROME  = 0x2
} JPEG_ENCODE_JPEG_0_WE_CFG_MEMORY_FORMAT_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MAL_32_BYTES  = 0x0,
    JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MAL_64_BYTES  = 0x1,
    JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MAL_128_BYTES  = 0x2,
    JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MAL_256_BYTES  = 0x3,
    JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MAL_512_BYTES  = 0x4,
    JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MAL_1024_BYTES  = 0x5,
    JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MAL_2048_BYTES  = 0x6,
    JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_MAL_4096_BYTES  = 0x7
} JPEG_ENCODE_JPEG_0_WE_CFG_MAL_BOUNDARY_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_IMAGE_FORMAT_H1V1  = 0x0,
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_IMAGE_FORMAT_H1V2  = 0x1,
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_IMAGE_FORMAT_H2V1  = 0x2,
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_IMAGE_FORMAT_H2V2  = 0x3,
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_IMAGE_FORMAT_MONOCHROME  = 0x4
} JPEG_ENCODE_JPEG_0_ENCODE_CFG_IMAGE_FORMAT_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_FSC_ENABLE_FSC_DISABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_FSC_ENABLE_FSC_ENABLED  = 0x1
} JPEG_ENCODE_JPEG_0_ENCODE_CFG_FSC_ENABLE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_OUTPUT_DISABLE_ENCODER_OUTPUT_ENABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_ENCODE_CFG_OUTPUT_DISABLE_ENCODER_OUTPUT_DIASBLED  = 0x1
} JPEG_ENCODE_JPEG_0_ENCODE_CFG_OUTPUT_DISABLE_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_SCALE_CFG_UPSAMPLE_EN_UPSAMPLE_DISABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_SCALE_CFG_UPSAMPLE_EN_UPSAMPLE_ENABLED  = 0x1
} JPEG_ENCODE_JPEG_0_SCALE_CFG_UPSAMPLE_EN_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_SCALE_CFG_SUBSAMPLE_EN_SUBSAMPLE_DISABLED  = 0x0,
    JPEG_ENCODE_JPEG_0_SCALE_CFG_SUBSAMPLE_EN_SUBSAMPLE_ENABLED  = 0x1
} JPEG_ENCODE_JPEG_0_SCALE_CFG_SUBSAMPLE_EN_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_SCALE_CFG_HSCALE_ALGORITHM_MN_DOWNSCALE  = 0x0,
    JPEG_ENCODE_JPEG_0_SCALE_CFG_HSCALE_ALGORITHM_FIR_UPSCALE  = 0x1
} JPEG_ENCODE_JPEG_0_SCALE_CFG_HSCALE_ALGORITHM_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_SCALE_CFG_VSCALE_ALGORITHM_MN_DOWNSCALE  = 0x0,
    JPEG_ENCODE_JPEG_0_SCALE_CFG_VSCALE_ALGORITHM_FIR_UPSCALE  = 0x1
} JPEG_ENCODE_JPEG_0_SCALE_CFG_VSCALE_ALGORITHM_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_SCALE_CFG_H_SCALE_FIR_ALGORITHM_BI_LINEAR  = 0x0,
    JPEG_ENCODE_JPEG_0_SCALE_CFG_H_SCALE_FIR_ALGORITHM_BI_CUBIC  = 0x1,
    JPEG_ENCODE_JPEG_0_SCALE_CFG_H_SCALE_FIR_ALGORITHM_NEAREST_NEIGHBORHOOD  = 0x2
} JPEG_ENCODE_JPEG_0_SCALE_CFG_H_SCALE_FIR_ALGORITHM_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_SCALE_CFG_V_SCALE_FIR_ALGORITHM_BI_LINEAR  = 0x0,
    JPEG_ENCODE_JPEG_0_SCALE_CFG_V_SCALE_FIR_ALGORITHM_BI_CUBIC  = 0x1,
    JPEG_ENCODE_JPEG_0_SCALE_CFG_V_SCALE_FIR_ALGORITHM_NEAREST_NEIGHBORHOOD  = 0x2
} JPEG_ENCODE_JPEG_0_SCALE_CFG_V_SCALE_FIR_ALGORITHM_ENUM;


typedef enum{
    JPEG_ENCODE_JPEG_0_DMI_CFG_DMI_MEM_SEL_NO_MEMORY_SELECTED  = 0x0,
    JPEG_ENCODE_JPEG_0_DMI_CFG_DMI_MEM_SEL_QUANTIZATION_LUT  = 0x1,
    JPEG_ENCODE_JPEG_0_DMI_CFG_DMI_MEM_SEL_HUFFMAN_LUT  = 0x2
} JPEG_ENCODE_JPEG_0_DMI_CFG_DMI_MEM_SEL_ENUM;

#endif // TITAN170_JPEG_ENCODE_H
